package org.blueoxygen.kukuruyuk.entity;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import javax.persistence.Table;
import org.blueoxygen.cimande.DefaultPersistence;
import org.blueoxygen.cimande.gx.droplist.DroplistForm;
import org.blueoxygen.cimande.gx.entity.GxDroplistName;
import org.blueoxygen.cimande.gx.entity.GxDroplistValue;
@Entity
@Table(name="kur_plasma")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
public class Plasma extends DefaultPersistence {
private String code;
private String name;
private String telephone;
private Location location;
private String region;
private String description;
public String getCode() {
	return code;
}
public void setCode(String code) {
	this.code = code;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getTelephone() {
	return telephone;
}
public void setTelephone(String telephone) {
	this.telephone = telephone;
}
public String getRegion() {
	return region;
}
public void setRegion (String region) {
	this.region = region;
}
public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
@ManyToOne()
@JoinColumn(name="location_id")
public Location getLocation() {
	return location;
}
public void setLocation(Location location) {
	this.location = location;
}

}

	